package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Accident;
import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.AccidentMapperQueryObject;
import cn.wolfcode.crm.query.PageResult;

import java.util.List;

public interface IAccidentService {
    void deleteByPrimaryKey(Long id);

    void insert(Accident record);

    Accident selectByPrimaryKey(Long id);

    List<Accident> selectAll();

    void updateByPrimaryKey(Accident record);

    //根据明细表id修改状态
    void changeStatus(long id,long status);

    PageResult query(AccidentMapperQueryObject qo);
}
